package com.wjc.server.dto;

import javax.validation.constraints.NotNull;

public class ChapterPageDto extends PageDto{

    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    @Override
    public String toString() {
        return "ChapterPageDto{" +
                "courseId=" + courseId +
                "} " + super.toString();
    }
}
